import type { OjSubject } from "@/typedefined/Subject";
import { defineStore } from "pinia";
import { ref } from "vue";

export const useOjStores =  defineStore("oj",() => {
    // 题目列表
    const ojSubjectList = ref<Array<OjSubject>>([]);

    // 当前题目
    const currentSubject = ref<OjSubject>();

    return {
        ojSubjectList,currentSubject
    }
});